home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 326-350 / disk_330 / xprkermit / makefile < prev    next >
Makefile  |  1992-05-06  |  1KB  |  59 lines

  1. ### makefile
  2. #
  3. #   DESCRIPTION:
  4. #   ===========
  5. #
  6. #    This is the makefile for the xprascii.library.
  7. #    This version is written for Aztec C. It is based on the example
  8. #    library  by Jim Mackraz who got some stuff from Neil Katin.
  9. #    All changes and additions by me.
  10. #
  11. #   AUTHOR/DATE:  W.G.J. Langeveld, February 1989.
  12. #   ============
  13. #
  14. #    Modified for Aztec C V3.6a and XPR Kermit by Stephen Walton and
  15. #    Marco Papa, November-December 1989.
  16. #
  17. #    The "-lstring" on the Makefile below refers to the Henry Spencer
  18. #    string library, available on Fish Disk.  It is only needed for the
  19. #    strtok() function.
  20. ###
  21. CFLAGS = +B -DXPRKERMIT
  22.  
  23. # The order in the following is important!
  24.  
  25. OBJS    =    xprkermit.o timeout.o funky.o protolib.o \
  26.         rtag.o libface.o kermitproto.o
  27.  
  28. All:           xprkermit.library
  29.  
  30. xprkermit.library: $(OBJS) 
  31.     ln -o xprkermit.library $(OBJS) -lstring -lc
  32.  
  33. xprkermit.o:    xprkermit.c xproto.h
  34.  
  35. kermitproto.o: kermitproto.c kermitproto.h
  36.     cc $(CFLAGS) kermitproto.c
  37.  
  38. kermitproto.c:    kermitproto.w
  39.     wart kermitproto.w kermitproto.c
  40.  
  41. timeout.o:     timeout.c
  42.  
  43. protolib.o:    protolib.c protolib.h
  44.  
  45. rtag.o:        rtag.asm
  46.     as rtag.asm
  47.  
  48. funky.o:       funky.asm
  49.     as funky.asm
  50.  
  51. libface.o:     libface.asm
  52.     as libface.asm
  53.  
  54. copy:    xprkermit.library
  55.     copy xprkermit.library to LIBS:
  56.     
  57. clean:
  58.     delete #?.o
  59.